IBM Support

PK69370: EJB DEPLOY IS FAILING ON PREPARE DEPLOYMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • EJB deployment is failing. it flashes error when clicked on
    "prepare for deployment"
    
    installation: RAD v 7007
    
    User has migrated the project from WSAD 5.1.1,
    there are few session beans in the project and when do
    "Prepare for Deployment" there is a error on screen.
    
    in the .log file following is the error:
    
    
    !ENTRY org.eclipse.jst.j2ee 4 0 2008-07-16 13:41:45.347
    !MESSAGE Deploying clmEJB
    !SUBENTRY 1 org.eclipse.jst.j2ee 4 4 2008-07-16 13:41:45.347
    !MESSAGE Deployment from com.ibm.etools.ejbdeploy.EJBDeployer
    had errors:
    
    !STACK 0
    java.lang.NullPointerException
     at
    com.ibm.etools.ejbdeploy.exec.sqlj.SQLJOperation.getAntScriptFil
    e(Unknown Source)
     at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.validateEdit(
    Unknown Source)
     at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.invokeCodeGen
    eration(Unknown Source)
     at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(Unknown
    Source)
     at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(Unknown
    Source)
     at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: When generating the EJB Deployment      *
    *                      code an XML error will occur when       *
    *                      attempting to write the                 *
    *                      .websphereDeploy file.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Under very rare situations when generating the EJB Deployment
    code an XML Transformation error may occur when attempting to
    write the .settings/.websphereDeploy file.  If this occurs
    when attempting to see if an SQLj Ant file exists during EJB
    Deploy then the following NullPointerException will occur:
    
    java.lang.NullPointerException
    at
    com.ibm.etools.ejbdeploy.exec.sqlj.SQLJOperation.getAntScriptFil
    e(Unknown Source)
    at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.validateEdit(
    Unknown Source)
    

Problem conclusion

  • The persistence API for writing the XML file
    .settings/.websphereDeploy has been modified to prevent the
    transformation error from occurring.
    
    The fix for this APAR is currently targeted for inclusion in
    the WebSphere Application Server Toolkit fixpack 6.1.1.8 and
    Rational Application Developer fixpack 7.0.0.8.  Please refer
    to the following Recommended Updates page for WebSphere
    Application Server Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    and the following Recommended Updates page for Rational
    Application Developer delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27007823
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK69370

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-22

  • Closed date

    2008-07-24

  • Last modified date

    2008-07-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 October 2021